<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Model\User;


class UserListController extends Controller
{
    public function __construct()
    {
        $this->middleware('admincheck');
        $this->middleware('loadnav');
    }

    public function index()
    {
        $User = new User();
        return view('admin.userlist', ['User' => $User->Get_User_Interlocution_List()]);
    }
}
